home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1290 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  4.6 KB

  1. Path: ohstpy.mps.ohio-state.edu!vancleef
  2. From: vancleef@ohstpy.mps.ohio-state.edu
  3. Newsgroups: comp.object,comp.software-eng,comp.lang.c++
  4. Subject: Re: Moving from C to C++
  5. Message-ID: <1996Jan10.024013.8711@ohstpy>
  6. Date: 10 Jan 96 02:40:13 -0500
  7. References: <4cs44p$3pk@ixnews8.ix.netcom.com> <30F2A73C.7519@i-o.com>
  8. Organization: The Ohio State University, Department of Physics
  9.  
  10. In article <30F2A73C.7519@i-o.com>, "David F. St.Clair" <dstclair@i-o.com> writes:
  11. > Rocco Pochy wrote:
  12. >> Our company is looking at moving toward C++ and the object-oriented
  13. >> paradigm.  Unfortunately, the engineering staff is trained in C. Does
  14. >> anybody have any experiences in moving from a structure C environment
  15. >> to that of an object-oriented C++ environment?
  16. >> 
  17. >> Is it better to ease everyone into using C++ as a better C and take
  18. >> advantage of the encapsulation, getting people familar on the tools
  19. >> before jumping into a full object-oriented development?  Or should
  20. >> one jump right in a take the learning curve hit, sacrificing time to
  21. >> market?
  22. >> 
  23. >> I would appreciate and feedback on the pitfalls and benefits to these
  24. >> approaches.
  25. >> 
  26. > I've got a bit of experience doing this same thing from both a technical and
  27. > managerial position.  I've been working in C++ and OO for about 8 years now
  28. > and have moved (or are moving) two organization from a predominantly 'C' trained
  29. > staff to C++ and OOP.
  30. > First you need to evaluate the expertise of your staff.  Do you have people
  31. > who alreay are trained and have experience in C++?  What about OO?  If you
  32. > don't have strong in-house OO expertise, then forget about jumping straight
  33. > into OO.  If you have some strong C++ people and rest of the staff is
  34. > motivated in learning new things, you might get by without formal C++ training
  35. > (although I don't recommend it).
  36. > I'm BIG on training.  Start the new project off right with a 5 day C++ training
  37. > class.  There are several good people to bring in, expect to pay about
  38. > $15K for a class of <20.
  39. > Start using C++ as a better C.  Get your group accustomed to the language and
  40. > the new tools.  Stay away from most things that are OO.
  41.                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  42.  
  43. Nonsense. The reason FOR using C++ is for OO.
  44.  
  45.  
  46. > After around 3-6 months, get some formal OO training.  Suitcase the course in
  47. > as well.  There are several good 5 day courses out there.  Include managers in the
  48. > training classes.  Make a big production of training and stress the importance.
  49.  
  50. Treating OO like it's the 'chapter at the end of the book' is a waste of
  51. their time. You must teach OO from the beginning.
  52.  
  53. C++ is a better C only to C programmers who refuse to change from 
  54. structures programming. If you C++ programmers, you are going to have to
  55. teach OO from the first day. Anythig else is a waste of time.
  56.  
  57.  
  58. > Don't allow people to jump into OO waters without a lot of guidance.  This will
  59. > be pretty hard since the more talented people will be pushing you to allow them
  60. > to go whole hog.  But the failure potential is pretty high.  Failure can be
  61. > devastating when introducing new technologies.
  62. > Once you've got a bit of OO training, pick a small piece of the project that
  63. > is well understood and obviously fits an OO paridigm.  I know, I know EVERYTHING
  64. > is an object but sometimes modeling isn't quite as straight forward as the
  65. > books profess.
  66. > One thing I'd definitely recommend, do not jump into C++ and OOP all at once.  Chances
  67. > are you would not just be suffering from time loss due to a steep learning curve but
  68. > you would probably be dooming your project and the future of OO within your company.
  69. > The migration from C to C++/OOP is about 12-18 month process.  Expect a 10-15%
  70. > productivity loss during the first 3-6 months.  This should be made up in
  71. > the last 9-12 months.  The benefits you are going to get from going to C++/OOP
  72. > are not going to realized on the current project but will be more readily
  73. > identified on the next project (or future releases of the current project).
  74.  
  75. I programmed in C for years. It took me *one week* to learn C++ when thrown
  76. into 50,000 lines of badly written C++ (written by C programmers who
  77. tried to use some OO concepts) and asked to 'make it work'. I
  78. did. I will never look back.
  79.  
  80.  
  81. > Look for evolutionary changes/benefits, not revolutionary.
  82.  
  83. Sorry, but C++ is revolutionary. C++ is NOT a better C and teaching this
  84. to people on your payroll is a waste of money.
  85.  
  86. > This is of a surface level discussion.  Feel free to drop me note and we can
  87. > talk more in depth.
  88. > -- 
  89. > Dave St.Clair    dstclair@i-o.com
  90. > Project Manager  Input/Output
  91.  
  92.  
  93.